public class person {
    public static void main(String[] args) {
        StudentMassage person = new StudentMassage("张三",17,"高二二班");
        person.ClassRoom();

        Student student1 = new StudentMassage("李四",18,"高三一班");//父类调用子类
        student1.eat();
        //student1.ClassRoom();->无法调用子类方法
    }

}
